package com.gmzg.gmzgnews.news.interfaces;

import com.gmzg.gmzgnews.news.entries.AmuseTop;
import com.gmzg.gmzgnews.news.entries.HeadTop;
import com.gmzg.gmzgnews.news.entries.HeadlineResult;
import com.jash.networklibrary.NetworkTask;
import com.jash.networklibrary.UrlString;

public interface NeteaseServer {
    @UrlString("http://c.m.163.com/nc/article/headline/T1348647853363/%d-%d.html")
    NetworkTask<HeadlineResult> getHeadline(int page, int rows);
    @UrlString("http://www.tngou.net/api/top/news?id=%d&rows=%d&classify=%d")
    NetworkTask<HeadTop> getHeadNews(int id, int rows,int classify);
    @UrlString("http://www.tngou.net/api/top/list?page=%d&rows=%d")
    NetworkTask<AmuseTop> getAmuseData(int page, int rows);
}
